package com.aiou.security.authentication.mobile;

import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @author zyb
 */
public interface SmsUserDetailsService {
    /**
     * @param mobile the user ID used to lookup the user details
     * @return the SocialUserDetails requested
     * @see org.springframework.security.core.userdetails.UserDetailsService#loadUserByUsername(String)
     */
    SmsUserDetails loadUserByMobile(String mobile) throws UsernameNotFoundException;
}
